package com.bjtu.restaurantreviews.dao;

import com.bjtu.restaurantreviews.domain.Picture;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * @Author: Chen
 * @Description:
 * @Date: Created in 16:17 2018/5/17
 */
public interface PictureRepository extends JpaRepository<Picture,Long> {
    //根据餐馆id查询
    public List<Picture> findByPicrid(int rid);
}
